﻿# CMakeList.txt : 顶级 CMake 项目文件，执行全局配置
# 和此处的包含子项目。
#

cmake_minimum_required(VERSION 2.8)
project(vzenith_base)

include(cmake/global_environment_settings.cmake)

if(WIN32)
	if(MSVC14)
		include(cmake/win_vs2017_environment_settings.cmake)
	endif()
elseif(UNIX)
	include(cmake/ubuntu64_environment_settings.cmake)
endif()

include_directories(${VZPROJECT_INCLUDE_DIR})
link_directories(${VZPROJECT_LIBRARY_DIR})

# 包含子项目。
add_subdirectory(src/base)
add_subdirectory(src/core)
add_subdirectory(src/samples/client)
add_subdirectory(src/samples/server)
add_subdirectory(cmake)


